home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Environments
/
Clean 1.2.4
/
PowerMacInterface
/
OS_utilities.icl
< prev
next >
Wrap
Text File
|
1995-02-14
|
635b
|
24 lines
implementation module OS_utilities;
import mac_types;
Secs2Date :: !Int !Toolbox -> (!Int,!Int,!Int,!Int,!Toolbox);
Secs2Date secs t = code (secs=R14O0D1D0,t=U)(year=W,month=W,day=W,dayOfWeek=I6W,z=Z){
call .SecondsToDate
};
Secs2Time :: !Int !Toolbox -> (!Int,!Int,!Int,!Toolbox);
Secs2Time secs t = code (secs=R14O0D1D0,t=U)(hour=I6W,minute=W,second=W,z=I2Z){
call .SecondsToDate
};
SysBeep :: !Int !Toolbox -> Toolbox;
SysBeep duration t = code (duration=D0,t=U)(z=Z){
call .SysBeep
};
GetCursor :: !Int !Toolbox -> (!Handle,!Toolbox);
GetCursor cursorID t = code (cursorID=D0,t=U)(crsr_handle=D0,z=Z){
call .GetCursor
};